package com.weather.service.Impl;

import com.weather.domain.MailRecord;
import com.weather.mapper.MailRecordMapper;
import com.weather.service.MailRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MailRecordServiceImpl implements MailRecordService {

    @Autowired
    private MailRecordMapper mailRecordMapper;

    @Override
    public void saveRecord(MailRecord mailRecord) {
        mailRecordMapper.insert(mailRecord);
    }
}
